package com.hkzhao.reportingsystem.dto;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class CaseDto implements Serializable {
    @ApiModelProperty(value = "案例tokenid",required = true)
    @JsonProperty(value = "caseId")
    private String caseId;
    @ApiModelProperty(value = "更新的地点",required = true)
    @JsonProperty(value = "locate")
    private String locate;
    @JsonProperty(required = false)
    private Date time;
    @ApiModelProperty(value = "更新的备注",required = true)
    @JsonProperty(value = "note")
    private String note;
    @ApiModelProperty(value = "更新的电话号码",required = true)
    @JsonProperty(value = "telephone")
    private String telephone;
    @ApiModelProperty(value = "更新的年龄",required = true)
    @JsonProperty(value = "age")
    private Integer age;
    @ApiModelProperty(value = "更新危重等级",required = true)
    @JsonProperty(value = "level")
    private String level;
    @ApiModelProperty(value = "更新疾病类型",required = true)
    @JsonProperty(value = "diseaseType")
    private String diseaseType;
    @ApiModelProperty(value = "更新的性别 这个应该不可能吧",required = true)
    @JsonProperty(value = "gender")
    private String gender;
    @ApiModelProperty(value = "医生的操作id 这个前端应该自己固定就好了",required = true)
    @JsonProperty(value = "doctorTokenId")
    private String doctorTokenId;
    @ApiModelProperty(value = "名字",required = true)
    @JsonProperty(value = "name")
    private String name;
    public CaseDto(){}
    public CaseDto(String caseId,String locate,String note,
                   String telephone,Integer age,String level,String diseaseType,
                   String gender,String doctorTokenId,String name)
    {
        this.age = age;
        this.caseId = caseId;
        this.level = level;
        this.locate = locate;
        this.time = new Date();
        this.note = note;
        this.telephone = telephone;
        this.diseaseType = diseaseType;
        this.gender = gender;
        this.name = name;
        this.doctorTokenId = doctorTokenId;
    }
    public Date getTime() {
        return time;
    }

    public Integer getAge() {
        return age;
    }

    public String getCaseId() {
        return caseId;
    }

    public String getDiseaseType() {
        return diseaseType;
    }

    public String getDoctorTokenId() {
        return doctorTokenId;
    }

    public String getGender() {
        return gender;
    }

    public String getLevel() {
        return level;
    }

    public String getLocate() {
        return locate;
    }

    public String getNote() {
        return note;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setCaseId(String caseId) {
        this.caseId = caseId;
    }

    public void setDiseaseType(String diseaseType) {
        this.diseaseType = diseaseType;
    }

    public void setDoctorTokenId(String doctorTokenId) {
        this.doctorTokenId = doctorTokenId;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public void setLocate(String locate) {
        this.locate = locate;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
